package com.zhang.network.controller;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * Api(tags)：接口分组，tags声明组名
 * ApiOperation(value = "用户测试",notes = "用户测试notes")：接口描述，value-接口简称，notes-接口描述
 *
 * @author zhangshuaiyin
 * @date 2021-03-31 09:20
 */
@Api(tags = "Hello 测试模块")
@RestController
public class HelloController {

    @ApiOperation(value = "测试",notes = "hello world 测试")
    @GetMapping("/hello")
    public String helloWorld() {
        return "hello network.";
    }
}
